﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewsAdd.aspx.cs" ValidateRequest="false"
    Inherits="Enterprise.Admin.NewsAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加新闻</title>

    <script src="editor/ckeditor.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:TextBox ID="txtContents" runat="server" TextMode="MultiLine"></asp:TextBox>
    </div>
    <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click1" />
    <a href="#">test</a>

    <script type="text/javascript">
        CKEDITOR.replace('<%=txtContents.ClientID %>',
                        {
                            height: 320, width: '95%',
                            toolbar: [['Source', 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink', '-']]
                        }
                     );
    </script>

    </form>
</body>
</html>
